package cn.snorlaxzjt.LBSserver.po.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


@Data
@TableName("user")
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String password;
    private String avatar;
    private String email;

    public User(String username, String avatar, String email)
    {
        this.username = username;
        this.avatar = avatar;
        this.email = email;
    }

}
